#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
namespace Cephei.QL.Math.Optimization
{
     // <summary> 
	// ! This implementation is based on MINPACK (<http://www.netlib.org/minpack>,
	// <http://www.netlib.org/cephes/linalg.tgz>)
	// </summary>
    [Guid ("E1022F90-821A-4b69-B99E-DFDB0B89A985"),ComVisible(true)]
	public interface ILevenbergMarquardt : Cephei.QL.Math.Optimization.IOptimizationMethod
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Int32 GetInfo {get;}
        
		 QL.Math.Optimization.EndCriteria.TypeEnum Minimize(Cephei.QL.Math.Optimization.IProblem P, Cephei.QL.Math.Optimization.IEndCriteria endCriteria);
        
		 ILevenbergMarquardt Fcn(Int32 m, Int32 n, Double x, Double fvec, Int32 iflag);
    }

    // <summary> 
	// ! This implementation is based on MINPACK (<http://www.netlib.org/minpack>,
	// <http://www.netlib.org/cephes/linalg.tgz>) Factory
	// </summary>
   	[ComVisible(true)]
    public interface ILevenbergMarquardt_Factory // : Collection_Factory<ILevenbergMarquardt, ICell<ILevenbergMarquardt>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ILevenbergMarquardt Create (Microsoft.FSharp.Core.FSharpOption<Double> epsfcn, Microsoft.FSharp.Core.FSharpOption<Double> xtol, Microsoft.FSharp.Core.FSharpOption<Double> gtol);
    }
}

